import { DNode } from "./LinkedList/doubleLinkedLinkedList"

// 迭代器
export type IIterator<T> = (element: T, index?: number) => boolean

export type IDIterator<T> = (node: DNode<T>, index: number) => void